package com.biz.primus.app.erpbridge.feign;

import com.biz.primus.product.vo.ErpProductRecVo;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author jiangnan
 * @Description:
 */
@FeignClient(name = "service-product")
public interface ProductFeignClient {

    @GetMapping("erpProductRec")
    List<ErpProductRecVo> recommend(@RequestParam("userId") Long userId, @RequestParam("depotCode") String depotCode);


}
